//
//  ECCommonImport.h
//  ERPChargeAccount
//
//  Created by huanggulong on 2018/5/3.
//  Copyright © 2018年 历山大亚. All rights reserved.
//

#ifndef ECCommonImport_h
#define ECCommonImport_h

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#import "GLCategory.h"
#import "MBProgressHUD+EC.h"
#import <Masonry/Masonry.h>
#import <SDWebImage/UIImageView+WebCache.h>

#import <YYKit/YYKit.h>
#import <IQKeyboardManager/IQKeyboardManager.h>
#import "ECBaseViewController.h"//基类
#import "ECAlertTool.h"
#import "UIColor+hexStringColor.h"
#import "UIView+Size.h"

typedef enum : NSUInteger {
    ECRootControllerTypeLogin,
    ECRootControllerTypeMain,
    ECRootControllerTypeFeature,
} ECRootControllerType;

typedef enum :NSUInteger {
    ECModelOperateTypeAdd = 0,    //增
    ECModelOperateTypeDelete = 1,  //删
    ECModelOperateTypeSeek = 2,    //查
    ECModelOperateTypeUpdate = 3,  //改
} ECModelOperateType;     //数据模型所进行的操作类型

typedef enum : NSUInteger {
    ECAddVariableDefault,
    ECAddVariableOptional = ECAddVariableDefault, //选填
    ECAddVariableRequired,  //必填
} ECAddVariableOperateType;  //模型添加或编辑时字段是否为必填项

typedef enum : NSUInteger {
    ECSearchCustomName,
    ECSearchShopType,
    ECSearchShopModel
} ECSearchType;


#endif /* ECCommonImport_h */
